package br.edu.turmavirtual;

import java.util.ArrayList;
import java.util.List;

import android.app.ListActivity;
import android.os.Bundle;

public class TurmaActivity extends ListActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		List<Turma> turmas = new ArrayList<Turma>();
		turmas.add(new Turma(1, "turma1"));
		turmas.add(new Turma(2, "turma2"));
		turmas.add(new Turma(3, "turma3"));

		setListAdapter(new TurmaListAdapter(this, turmas));
	}

}
